﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlayerScannerCore
{
    /// <summary>
    /// A singleton class that stores default factories used by the application. Factories can 
    /// be overwritten as needed by the application.
    /// </summary>
    internal class Factory
    {
        static Factory()
        {
            Instance = new Factory();
        }

        public static Factory Instance { get; private set; }

        //Instance members

        public ItemFactory ItemFactory { get; set; }
        public PlayerFactory PlayerFactory { get; set; }
    }
}
